package com.zh.work.entity.agent;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@ApiModel(value = "代理商用户类")
@Data
@Accessors(chain = true)
@TableName("agent_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AgentUserEntity extends Model<AgentUserEntity> {

  private static final long serialVersionUID = -4104456668684326598L;

  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  @ApiModelProperty(value = "所属代理商(运营平台为1000000000)", name = "agentUser")
  @TableField(value = "agent_user")
  private String agentUser;


  @ApiModelProperty(value = "机构编码", name = "branchno")
  @TableField(value = "branchno")
  private String branchNo;


}
